import Vue from 'vue'
import App from './App.vue'

Vue.config.productionTip = false
window.x = {a:1,b:2}
Vue.prototype.y = {a:1,b:2,c:3}
console.log('Vue==>',Vue.prototype)
/*
const demo = Vue.extend({

})
const d = new demo()*/

// Vue.prototype.demo = d
new Vue({
  render: h => h(App),

  beforeCreate() {
    Vue.prototype.$bus = this //安装全局事件总线
  }
}).$mount('#app')

